<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link rel="stylesheet" href="/static/css/page.css">
</head>
<body>
    <div class="defaultTab-T">
        <table border="0" cellspacing="0" cellpadding="0" class="defaultTable">
            <tbody><tr><th class="t_1">用户ID</th><th class="t_3">用户名</th><th class="t_3">密码</th><th class="t_3">注册时间</th><th class="t_3">性别</th><th class="t_4">操作</th></tr>
            </tbody>
        </table>
    </div>
    <table border="0" cellspacing="0" cellpadding="0" class="defaultTable defaultTable2">
        <tbody>
            {% for user  in users %}
                <tr>
                    <td class="t_1">{{ user.id }}</td>
                    <td class="t_3"><a>{{ user.username }}</a></td>
                    <td class="t_3">{{ user.password }}</td>
                    <td class="t_3">{{ user.regtime }}</td>
                    <td class="t_3">{{ user.sex }}</td>
                <td class="t_4"><div class="btn">
                    <a href="{% url 'ArticleManage:user_delete' id=user.id %}" class="delete">删除</a></div></td>
                </tr>
            {% endfor %}

        </tbody>
    </table>
</body>
</html>